﻿using Spider.DB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Spider.Init
{
    /// <summary>
    /// 爬虫初始化统一规则接口
    /// </summary>
    public interface Iinit
    {

        /// <summary>
        /// 爬虫启动方法
        /// </summary>
        void Start();

        /// <summary>
        /// 设置数据库持久化方式
        /// </summary>
        /// <param name="db"></param>
        void SetDB(IDBs db);
    }
}
